import React, { PureComponent } from 'react';
import { Layout } from 'antd';
// eslint-disable-next-line
import styles from './Content.less';

const { Content } = Layout;

class ContentView extends PureComponent {

  render() {
    const { children } = this.props;
    return (
      <Content style={{ margin: '16px 16px 0 16px' }}>
        <div style={{ padding: 24, background: '#fff', minHeight: 360 }}>
          {children}
        </div>
      </Content>
    );
  }
}

export default ContentView;
